Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: weird char sequence throwing java error #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jej
Copy link

@jej jej commented Apr 8, 2022

I guess it's just a mistake...
Got this java error after exciting the ssh login:

Exception occurred while executing 'force-stop':
java.lang.IllegalArgumentException: Argument expected after "force-stop"
	at com.android.modules.utils.BasicShellCommandHandler.getNextArgRequired(BasicShellCommandHandler.java:295)
	at com.android.server.am.ActivityManagerShellCommand.runForceStop(ActivityManagerShellCommand.java:1138)
	at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:239)
	at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
	at android.os.ShellCommand.exec(ShellCommand.java:38)
	at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:10429)
	at android.os.Binder.shellCommand(Binder.java:986)
	at android.os.Binder.onTransact(Binder.java:860)
	at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:6049)
	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3034)
	at android.os.Binder.execTransactInternal(Binder.java:1220)
	at android.os.Binder.execTransact(Binder.java:1179)

I guess it's just a mistake... 
Got this java error after exciting the ssh login:

```
Exception occurred while executing 'force-stop':
java.lang.IllegalArgumentException: Argument expected after "force-stop"
	at com.android.modules.utils.BasicShellCommandHandler.getNextArgRequired(BasicShellCommandHandler.java:295)
	at com.android.server.am.ActivityManagerShellCommand.runForceStop(ActivityManagerShellCommand.java:1138)
	at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:239)
	at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
	at android.os.ShellCommand.exec(ShellCommand.java:38)
	at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:10429)
	at android.os.Binder.shellCommand(Binder.java:986)
	at android.os.Binder.onTransact(Binder.java:860)
	at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:6049)
	at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3034)
	at android.os.Binder.execTransactInternal(Binder.java:1220)
	at android.os.Binder.execTransact(Binder.java:1179)
```
@google-cla
Copy link

google-cla bot commented Apr 8, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

@jej
Copy link
Author

jej commented Apr 8, 2022

you'll need to sign a Contributor License Agreement (CLA).

I can live without, for sure :)
Hope it helps anyway...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant